<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>多种方式引入js代码案例</title>
	<script>/* JS代码 */
		function fn(){
			alert("JS的第1种引入方式");
		}
	</script>
	<script src="D:\ApplicationFiles\vscode\chapter_three\JS相关案例\JS文件\1.js"> </script>
</head>
<body>
    <div id="div1" onclick="fn();">Hello JavaScript</div>
	<div id="div2" onclick="fn2();">Hello JavaScript</div>
</body>
</html>